/*
 * NunchukDriver.h
 *
 *  Created on: 19/lug/2011
 *      Author: marcolembo
 */

#ifndef NUNCHUKDRIVER_H_
#define NUNCHUKDRIVER_H_

#include "Driver.h"
#include "nunchuk.h"

#ifndef _WP_
#define _WP_
#include "WProgram.h"
#endif


namespace ml
{

    class NunchukDriver : public ml::Driver
    {
        protected:
            Nunchuk m_nunchukLegacy;

        public:
            NunchukDriver();

            bool Is_C_ButtonPressed();
            bool Is_Z_ButtonPressed();

            virtual
            ~NunchukDriver();
    };

}

#endif /* NUNCHUKDRIVER_H_ */
